//
//  CustomTextField.m
//  02_作业
//
//  Created by dllo on 16/6/6.
//  Copyright © 2016年 zuzhiming. All rights reserved.
//

#import "CustomTextField.h"

@implementation CustomTextField

- (instancetype)initWithFrame:(CGRect)frame WithPlaceholder:(NSString *)placeholder
{
    self = [super initWithFrame:frame];
    if (self) {
        self.placeholder = placeholder;
        [self setTextFieldAttributed];
        
    }
    return self;
}

- (void)setTextFieldAttributed
{
    self.borderStyle = UITextBorderStyleRoundedRect;
    self.textColor = [UIColor lightGrayColor];
    
}

@end
